package com.pkk.cloud.support.admin.entity.resource;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "penguin_sys_role")
public class PenguinSysRole implements Serializable {

  private static final long serialVersionUID = 1966411789002542656L;
  /**
   * 角色表
   */
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  /**
   * 角色名称
   */
  @TableField(value = "role_name")
  private String roleName;

  /**
   * 角色状态0启用1禁用
   */
  @TableField(value = "is_disabled")
  private Boolean isDisabled;

  /**
   * 描述
   */
  @TableField(value = "description")
  private String description;

  /**
   * 创建人
   */
  @TableField(value = "create_name")
  private String createName;

  /**
   * 创建时间
   */
  @TableField(value = "create_time")
  private Date createTime;

  /**
   * 修改人
   */
  @TableField(value = "update_name")
  private String updateName;

  /**
   * 修改时间
   */
  @TableField(value = "update_time")
  private Date updateTime;

  /**
   * 备注
   */
  @TableField(value = "remark")
  private String remark;
}